/**
 * GroupUserService.java
 * 2008-3-13
 * @author 屈甲康
   qujiakang@gmail.com
 */
package org.jackysoft.service;

import java.util.Collection;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jackysoft.data.IDataProvider;
import org.jackysoft.entity.GroupUser;
import org.jackysoft.entity.User;
import org.springframework.dao.DataAccessException;

/**
 * @author 屈甲康
 * QQ285799123
 * 
 */
public interface GroupUserService extends IDataProvider<String,GroupUser>{
	final static Log logger = LogFactory.getLog(GroupUserService.class);	
    Collection<GroupUser> get(User owner) throws DataAccessException;
    Collection<User> fetchUsers(GroupUser gu) throws DataAccessException;
    void appendUser(GroupUser gu ,Collection<User> users) throws DataAccessException;    
}